Kim F. Storm [Sun, 23 Nov 2003 22:56:12 +0000 (22:56 +0000)]
Enhanced mouse events. Grep decoupled from compile.
Kim F. Storm [Sun, 23 Nov 2003 22:51:14 +0000 (22:51 +0000)]
*** empty log message ***
Kim F. Storm [Sun, 23 Nov 2003 22:50:48 +0000 (22:50 +0000)]
Remove grep-use-compilation-buffer defcustom.
Kim F. Storm [Sun, 23 Nov 2003 21:47:50 +0000 (21:47 +0000)]
*** empty log message ***
Kim F. Storm [Sun, 23 Nov 2003 21:47:24 +0000 (21:47 +0000)]
(enum window_loop): Add REDISPLAY_BUFFER_WINDOWS.
(window_loop): Handle REDISPLAY_BUFFER_WINDOWS.
(Fforce_window_update): New defun.
(syms_of_window): Defsubr it.
(Fset_window_margins, Fset_window_fringes): Doc fix.
Kim F. Storm [Sun, 23 Nov 2003 21:29:45 +0000 (21:29 +0000)]
*** empty log message ***
Kim F. Storm [Sun, 23 Nov 2003 21:28:24 +0000 (21:28 +0000)]
(Fredirect_debugging_output): New defun.
(syms_of_print): Defsubr it.
Kim F. Storm [Sun, 23 Nov 2003 20:57:47 +0000 (20:57 +0000)]
(grep-command, grep-use-null-device)
(grep-find-command, grep-tree-command, grep-tree-files-aliases)
(grep-tree-ignore-case, grep-tree-ignore-CVS-directories)
(grep-regexp-alist, grep-program, find-program)
(grep-find-use-xargs, grep-history, grep-find-history)
(grep-process-setup, grep-compute-defaults)
(grep-default-command, grep, grep-tag-default, grep-find)
(grep-expand-command-macros, grep-tree-last-regexp)
(grep-tree-last-files, grep-tree): Move grep variables, functions
and commands to new file grep.el.
(compilation-mode-map): Remove grep commands from Compile sub-menu.
(compilation-process-setup-function): Doc fix.
(compilation-highlight-regexp, compilation-highlight-overlay): New
defvars used for highlighting current compile error in source buffer.
(compile-internal): New optional args HIGHLIGHT-REGEXP and
LOCAL-MAP which overrides compilation-highlight-regexp and
compilation-mode-map for this compilation.
Delay calling compilation-set-window-height until after running
compilation-process-setup-function so it can buffer-local override
compilation-window-height.
Check buffer-local value of compilation-scroll-output.
(compilation-set-window-height): Use buffer-local value of
compilation-window-height.
(compilation-revert-buffer): Don't pass (undefined)
preserve-modes arg to revert-buffer.
(next-error-no-select, previous-error-no-select): New commands.
(compilation-goto-locus): Temporarily highlight current match in
source buffer using compilation-highlight-regexp.
Kim F. Storm [Sun, 23 Nov 2003 20:56:10 +0000 (20:56 +0000)]
* progmodes/grep.el: New file with grep code from compile.el.
(grep): New defcustom group.
(grep-window-height): New defcustom, like compilation-window-height.
(grep-auto-highlight): New defcustom, like compile-auto-highlight.
(grep-scroll-output): New defcustom, like compilation-scroll-output.
(grep-command, grep-use-null-device, grep-find-command)
(grep-tree-files-aliases, grep-tree-ignore-case)
(grep-tree-ignore-CVS-directories): Move to grep custom group.
(grep-setup-hook): New hook variable.
(grep-mode-map): New keymap for grep commands. Add Grep menu.
(grep-use-compilation-buffer): New defcustom.
(grep-last-buffer): New defvar, override compilation-last-buffer.
(grep): Add optional arg HIGHLIGHT-REGEXP. Doc fix.
Call compile-internal with args highlight-regexp and grep-mode-map.
Luc Teirlinck [Sun, 23 Nov 2003 03:12:45 +0000 (03:12 +0000)]
(Fset_char_table_parent): Doc fix.
Luc Teirlinck [Sun, 23 Nov 2003 03:10:57 +0000 (03:10 +0000)]
*** empty log message ***
Kim F. Storm [Sun, 23 Nov 2003 00:59:23 +0000 (00:59 +0000)]
(Click Events): Describe enhancements to event
position lists, including new text-pos and (col . row) items.
Mention left-fringe and right-fringe area events.
(Accessing Events): New functions posn-area, posn-object, and
posn-actual-col-row. Mention posn-timestamp. Mention that
posn-point in non-text area still returns buffer position.
Clarify posn-col-row.
Kim F. Storm [Sun, 23 Nov 2003 00:58:56 +0000 (00:58 +0000)]
Describe enhancements to mouse event positions.
Kim F. Storm [Sun, 23 Nov 2003 00:27:38 +0000 (00:27 +0000)]
(gdb-mouse-toggle-breakpoint): New defun.
(gdba): Bind it to [left-margin mouse-1] and [left-fringe mouse-1].
Kim F. Storm [Sun, 23 Nov 2003 00:27:27 +0000 (00:27 +0000)]
Bind mouse-1 on left-fringe and right-fringe to mouse-set-point so
that hscroll still works now that clicks on fringes generate specific
mouse events.
(mouse-set-point): Note that it now works in fringes and margins
too due to new semantics of posn-point in fringes and margins.
Kim F. Storm [Sun, 23 Nov 2003 00:27:03 +0000 (00:27 +0000)]
(event-start, event-end): Doc fix.
(posn-window, posn-x-y, posn-timestamp): Simplify doc.
(posn-area, posn-actual-col-row, posn-object): New defuns.
(posn-col-row): Simplify doc. Rewrite to use cond.
(posn-point): Also return buffer position for events outside text
area (that info is now present in the event position).
Kim F. Storm [Sun, 23 Nov 2003 00:26:37 +0000 (00:26 +0000)]
Changes related to enhanced information in mouse event positions.
Kim F. Storm [Sun, 23 Nov 2003 00:10:40 +0000 (00:10 +0000)]
(note_mode_line_or_margin_highlight): Adapt to new
mode_line_string and marginal_area_string parameters.
Kim F. Storm [Sun, 23 Nov 2003 00:10:08 +0000 (00:10 +0000)]
(coordinates_in_window): Remove redundant tests.
Fix returned X pixel value for left-margin.
Kim F. Storm [Sun, 23 Nov 2003 00:09:39 +0000 (00:09 +0000)]
(make_lispy_position): New function for generating
mouse click positions from frame and pixel coordinates.
Enhanced to return buffer position and actual row/column for
events outside the text area using updated mode_line_string and
marginal_area_string functions.
Return left-fringe and right-fringe clicks as such, rather than
clicks in text area.
(make_lispy_event) [USE_X_TOOLKIT, USE_GTK]: Don't call
pixel_to_glyph_coords, as we never use the results.
(make_lispy_event): Use make_lispy_position for MOUSE_CLICK_EVENT,
WHEEL_EVENT, and DRAG_N_DROP_EVENT to replace redundant code.
Eliminate unused code in WHEEL_EVENT handling.
(make_lispy_movement): Use make_lispy_position.
Kim F. Storm [Sun, 23 Nov 2003 00:09:19 +0000 (00:09 +0000)]
(buffer_posn_from_coords): Return actual row/column
for glyph clicked on, rather than (unused) pixel positions.
(mode_line_string, marginal_area_string): Change X and Y args to
pointers for returning actual row/column for glyph clicked on.
Simplify and optimize loops.
Kim F. Storm [Sun, 23 Nov 2003 00:09:00 +0000 (00:09 +0000)]
(mode_line_string, marginal_area_string): Update prototypes.
Kim F. Storm [Sun, 23 Nov 2003 00:08:23 +0000 (00:08 +0000)]
Enhance and consolidate mouse event handling.
Lars Hansen [Sat, 22 Nov 2003 23:01:39 +0000 (23:01 +0000)]
*** empty log message ***
Lars Hansen [Sat, 22 Nov 2003 23:01:18 +0000 (23:01 +0000)]
(struct the_group): Added.
(getgrgid): Added.
Lars Hansen [Sat, 22 Nov 2003 23:00:59 +0000 (23:00 +0000)]
(struct my_group): Added.
(getgrgid): Added.
Martin Stjernholm [Sat, 22 Nov 2003 22:44:31 +0000 (22:44 +0000)]
*** empty log message ***
Martin Stjernholm [Sat, 22 Nov 2003 22:44:07 +0000 (22:44 +0000)]
* ack.texi: Note that Alan Mackenzie contributed the AWK support
in CC Mode.
Martin Stjernholm [Sat, 22 Nov 2003 22:35:56 +0000 (22:35 +0000)]
*** empty log message ***
Martin Stjernholm [Sat, 22 Nov 2003 22:35:41 +0000 (22:35 +0000)]
* cc-mode.texi: Updated for CC Mode 5.30.
Note: Please refrain from doing purely cosmetic changes like
removing trailing whitespace in this manual; it clobbers cvs
merging for no good reason.
Luc Teirlinck [Sat, 22 Nov 2003 14:09:13 +0000 (14:09 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Sat, 22 Nov 2003 07:34:51 +0000 (07:34 +0000)]
Fix typo for hide-ifdef-mode entry: "line" -> "like".
Luc Teirlinck [Sat, 22 Nov 2003 03:48:24 +0000 (03:48 +0000)]
(Fassq, Fassoc, Frassq, Frassoc): Doc fixes.
Luc Teirlinck [Sat, 22 Nov 2003 03:42:24 +0000 (03:42 +0000)]
*** empty log message ***
Lars Hansen [Fri, 21 Nov 2003 18:28:07 +0000 (18:28 +0000)]
*** empty log message ***
Lars Hansen [Fri, 21 Nov 2003 18:27:51 +0000 (18:27 +0000)]
(Ffile_attributes): Parameter ID-FORMAT added and included in call to file
name handler. Numeric UID and GID optionally translated to strings. Docstring updated.
(directory_files_internal): Parameter ID-FORMAT added.
(Fdirectory_files_and_attributes): Parameter ID-FORMAT added and included in call to
file name handler and call to directory_files_internal. Docstring updated.
(Fdirectory_files): Dummy parameter added in call to directory_files_internal.
Lars Hansen [Fri, 21 Nov 2003 18:27:05 +0000 (18:27 +0000)]
(Qinteger): Added.
(Qinteger_or_floatp, Qinteger_or_float_or_marker_p): Removed.
(Ffile_attributes): Parameter added.
Lars Hansen [Fri, 21 Nov 2003 18:26:21 +0000 (18:26 +0000)]
(Qinteger): Exported.
Lars Hansen [Fri, 21 Nov 2003 18:25:20 +0000 (18:25 +0000)]
(File Attributes): Describe new parameter ID-FORMAT.
Lars Hansen [Fri, 21 Nov 2003 18:24:52 +0000 (18:24 +0000)]
(File Attributes): Describe removed parameter ID-FORMAT.
Lars Hansen [Fri, 21 Nov 2003 18:23:27 +0000 (18:23 +0000)]
Add plans for change of file attributes UID and GID from integer to string.
Luc Teirlinck [Fri, 21 Nov 2003 15:58:15 +0000 (15:58 +0000)]
(Freverse): Doc fix.
(Fnreverse): Doc fix.
Luc Teirlinck [Fri, 21 Nov 2003 15:55:07 +0000 (15:55 +0000)]
*** empty log message ***
Luc Teirlinck [Fri, 21 Nov 2003 05:04:07 +0000 (05:04 +0000)]
(Overview of Markers): Mention that, if a marker is used a a position,
its buffer is ignored.
Luc Teirlinck [Fri, 21 Nov 2003 05:02:08 +0000 (05:02 +0000)]
(Positions): Mention that, if a marker is used a a position, its
buffer is ignored.
Luc Teirlinck [Fri, 21 Nov 2003 05:01:17 +0000 (05:01 +0000)]
*** empty log message ***
Kim F. Storm [Wed, 19 Nov 2003 23:40:17 +0000 (23:40 +0000)]
(gud-gdba-command-name): Find gdb command via PATH.
(breakpoint-xpm-data, breakpoint-enabled-pbm-data): Make smoother.
(breakpoint-enabled-icon, breakpoint-disabled-icon): Set :ascent
to 100 for icons to avoid increasing line height when shown.
Kim F. Storm [Wed, 19 Nov 2003 23:39:51 +0000 (23:39 +0000)]
*** empty log message ***
Robert J. Chassell [Wed, 19 Nov 2003 21:04:04 +0000 (21:04 +0000)]
In node defvar and asterisk, following suggestions by Juri Linkov
<juri@jurta.org>, describe using the set-variable command to set
values temporarily and to show a list of variables by using
completion.
Andreas Schwab [Wed, 19 Nov 2003 13:23:43 +0000 (13:23 +0000)]
.
Andreas Schwab [Wed, 19 Nov 2003 13:23:30 +0000 (13:23 +0000)]
(set-variable): Fix indentation.
Kim F. Storm [Tue, 18 Nov 2003 23:44:11 +0000 (23:44 +0000)]
(init_iterator): Initialize it->start to position
before reseating (in case start position is invisible).
(init_to_row_start): Set it->start to row-start.
(redisplay_window): Accept optional_new_start if start position
is invisible (in which case IT_CHARPOS overshoots PT).
(display_line): Setup row->start from it->start (rather than
it->current which is wrong if first char on line is invisible).
When done, reseat it->start to it->current (= start of next row).
(expose_area): Fix exposure of text area when first char (e.g. TAB)
is only partially visible.
Kim F. Storm [Tue, 18 Nov 2003 23:42:40 +0000 (23:42 +0000)]
(struct it): New member start.
Kim F. Storm [Tue, 18 Nov 2003 23:42:12 +0000 (23:42 +0000)]
*** empty log message ***
Stefan Monnier [Tue, 18 Nov 2003 00:39:13 +0000 (00:39 +0000)]
(make_float, Fcons): Clear the markbit at init time.
(make_float, Fcons, Fmake_symbol, allocate_misc): Move the increment
of block_index outside of the macro call.
(Fgarbage_collect): Remove null code.
Stefan Monnier [Tue, 18 Nov 2003 00:17:42 +0000 (00:17 +0000)]
(XPNTR): Don't redefine.
Stefan Monnier [Mon, 17 Nov 2003 23:30:28 +0000 (23:30 +0000)]
*** empty log message ***
Stefan Monnier [Mon, 17 Nov 2003 23:29:49 +0000 (23:29 +0000)]
(hashfn_eq, hashfn_eql, hashfn_equal, hash_put)
(sxhash_string, sxhash): Use INTMASK instead of VALMASK.
(maybe_resize_hash_table): Use MOST_POSITIVE_FIXNUM.
Stefan Monnier [Mon, 17 Nov 2003 23:29:40 +0000 (23:29 +0000)]
(parse_modifiers, apply_modifiers): Use INTMASK instead of VALMASK.
Stefan Monnier [Mon, 17 Nov 2003 23:29:30 +0000 (23:29 +0000)]
(VALMASK): Only define for non-union type.
(MARKBIT): Remove.
(ARRAY_MARK_FLAG): Use previous value of MARKBIT.
(XTYPE): Define unconditionally.
(XSETTYPE): Remove one more remnant.
(EQ): Define differently for the union and non-union cases.
(INTMASK): New bit mask.
(struct Lisp_Marker): Move down to prepare for upcoming patch.
(GC_EQ): Delegate to EQ.
Stefan Monnier [Mon, 17 Nov 2003 23:23:15 +0000 (23:23 +0000)]
(coding_restore_composition): Lisp_Object/int mixup.
Robert J. Chassell [Mon, 17 Nov 2003 20:01:11 +0000 (20:01 +0000)]
In node `defvar and asterisk', commented out three paragraphs on
edit-options since the command is no longer described in the Emacs
manual.
Markus Rost [Mon, 17 Nov 2003 19:02:52 +0000 (19:02 +0000)]
Regenerated with "rm loaddefs.el; make autoloads".
This fixes default value of `button-map' where
push-button was bound to "" instead to "\r".
Carsten Dominik [Mon, 17 Nov 2003 14:24:58 +0000 (14:24 +0000)]
*** empty log message ***
Jan Djärv [Mon, 17 Nov 2003 06:06:24 +0000 (06:06 +0000)]
* xterm.c (x_window_to_scroll_bar): Move check of display to
where window_id is compared.
Kenichi Handa [Mon, 17 Nov 2003 05:25:52 +0000 (05:25 +0000)]
*** empty log message ***
Kenichi Handa [Mon, 17 Nov 2003 05:22:36 +0000 (05:22 +0000)]
(latin1-display): Fix docstring.
(latin1-display-ucs-per-lynx): Likewise.
John Wiegley [Mon, 17 Nov 2003 00:24:06 +0000 (00:24 +0000)]
(eshell-ls-file): There are times with size-width is nil and
uncomputed (when directories are created in dired, for example); in
this case, 4 is reasonable default value, although it may caused
skewed new entries (which could be avoided by returning the original
value of 8 in all cases, but 99% of the time this is a waste of
whitespace).
John Wiegley [Mon, 17 Nov 2003 00:22:59 +0000 (00:22 +0000)]
*** empty log message ***
Kim F. Storm [Sun, 16 Nov 2003 23:44:22 +0000 (23:44 +0000)]
(start_display): Set it->first_vpos.
(try_window_id): Use first_vpos to start display in first _text_
line if no reusable lines at start of window with header line.
Kim F. Storm [Sun, 16 Nov 2003 23:43:33 +0000 (23:43 +0000)]
(struct it): New member first_vpos.
Kim F. Storm [Sun, 16 Nov 2003 23:43:00 +0000 (23:43 +0000)]
*** empty log message ***
Jan Djärv [Sun, 16 Nov 2003 18:33:00 +0000 (18:33 +0000)]
Regenerated
Jan Djärv [Sun, 16 Nov 2003 18:32:34 +0000 (18:32 +0000)]
Fix in HAVE_X_SM test
Martin Stjernholm [Sun, 16 Nov 2003 16:55:08 +0000 (16:55 +0000)]
CC Mode update (5.30.8).
Jan Djärv [Sun, 16 Nov 2003 16:17:09 +0000 (16:17 +0000)]
Remove period at end of error message.
Jan Djärv [Sun, 16 Nov 2003 16:09:07 +0000 (16:09 +0000)]
* configure.in (HAVE_GTK_MULTIDISPLAY): Check if GTK can handle
multiple displays.
Regenerate configure.
Jan Djärv [Sun, 16 Nov 2003 16:06:58 +0000 (16:06 +0000)]
Add HAVE_GTK_MULTIDISPLAY
Jan Djärv [Sun, 16 Nov 2003 16:05:24 +0000 (16:05 +0000)]
Implement multiple display handling for GTK.
Robert J. Chassell [Sun, 16 Nov 2003 14:08:34 +0000 (14:08 +0000)]
Added Kevin Ryde <user42@zip.com.au>'s corrections to cross references
in emacs-lisp-intro.texi
Robert J. Chassell [Sun, 16 Nov 2003 13:43:25 +0000 (13:43 +0000)]
On behalf of Kevin Ryde <user42@zip.com.au>: Corrections
to cross references, (Interactive Options):
elisp "interactive" -> "Using Interactive".
(defvar and asterisk): Remove emacs "Edit Options" reference,
edit-options is no longer described in the emacs manual.
(Lists diagrammed): elisp "List Type" -> "Cons Cell Type".
John Wiegley [Sun, 16 Nov 2003 09:23:49 +0000 (09:23 +0000)]
(eshell-ls-file): Instead of making the size field in a long-listing
always 8 characters, use `size-width', which has already been
computed.
John Wiegley [Sun, 16 Nov 2003 09:23:29 +0000 (09:23 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Sat, 15 Nov 2003 00:57:02 +0000 (00:57 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Sat, 15 Nov 2003 00:56:16 +0000 (00:56 +0000)]
(minor-mode-list): Add `hs-minor-mode'.
Luc Teirlinck [Fri, 14 Nov 2003 23:14:37 +0000 (23:14 +0000)]
*** empty log message ***
Jan Djärv [Fri, 14 Nov 2003 19:13:02 +0000 (19:13 +0000)]
* xterm.c (x_detect_focus_change): Do not change focus frame for
Enter/LeaveNotify if the current focus frame has explicit focus.
Thien-Thi Nguyen [Fri, 14 Nov 2003 16:23:37 +0000 (16:23 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Fri, 14 Nov 2003 16:23:12 +0000 (16:23 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Fri, 14 Nov 2003 16:22:36 +0000 (16:22 +0000)]
(diff-hunk-prev, diff-hunk-next): Support
operation while narrowed, with `diff-restrict-view'.
Thien-Thi Nguyen [Fri, 14 Nov 2003 16:18:01 +0000 (16:18 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Fri, 14 Nov 2003 16:16:31 +0000 (16:16 +0000)]
(easy-mmode-define-navigation): Take additional
optional arg NARROWFUN. For the generated functions: Add local var
`was-narrowed-p'. Also, if NARROWFUN is specified, include frags that
arrange to check for and save narrowing state before the move and then
conditionally call NARROWFUN after the move.
Kim F. Storm [Fri, 14 Nov 2003 13:04:15 +0000 (13:04 +0000)]
(update_text_area): Fix redisplay error when hscroll
is active and first glyph is only partially visible.
Kim F. Storm [Fri, 14 Nov 2003 13:03:47 +0000 (13:03 +0000)]
*** empty log message ***
John Wiegley [Fri, 14 Nov 2003 11:01:46 +0000 (11:01 +0000)]
(eshell-parse-variable-ref): Added a backslash that was optional, but
obviously missing based on surrounding code.
John Wiegley [Fri, 14 Nov 2003 11:01:26 +0000 (11:01 +0000)]
*** empty log message ***
John Wiegley [Fri, 14 Nov 2003 10:59:32 +0000 (10:59 +0000)]
(eshell-lisp-command): Do not late-convert string arguments to numbers
unless the whole argument was seen as a number.
John Wiegley [Fri, 14 Nov 2003 10:59:04 +0000 (10:59 +0000)]
*** empty log message ***
Kenichi Handa [Fri, 14 Nov 2003 02:42:55 +0000 (02:42 +0000)]
*** empty log message ***
Kenichi Handa [Fri, 14 Nov 2003 02:39:35 +0000 (02:39 +0000)]
(ctext-non-standard-encodings-alist): Fix coding systems.